<template>
  <div>
    <FormList ref="formlist"></FormList>
    <button @click="sub">提交</button>
  </div>
</template>

<script>
import FormList from './components/FormList.vue'
export default {
  components: {
    FormList,
  },
  mounted() {},
  methods: {
    sub() {
      this.$refs.formlist.fn()
    },
  },
}
</script>

<style></style>
